package com.payment.client;

import com.payment.client.config.SomethingClientConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "payment",
        configuration = SomethingClientConfig.class)
public interface SomethingClient {

    @GetMapping("something/say")
    String say();
}
